package com.ylr.storage.framework.service;

import com.ylr.storage.common.dto.UploadDto;
import org.springframework.web.multipart.MultipartFile;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-09-10 15:26:14
 * className: StorageService 存储服务接口类
 * version: 1.0
 * description:
 */
public interface StorageService {

    /**
     * 上传接口
     * @param file 文件对象
     * @return 上传结果
     */
    default UploadDto upload(MultipartFile file) {
        return null;
    }




}
